﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Antlr.Runtime;

namespace Netium.Compiler.IntermediateRepresentation
{
    [Serializable]
    public class IRToken : CommonToken
    {
        private ISymbol _symbol = null;

        public IRToken() : base() { }
        public IRToken(int type) : base(type) { }
        public IRToken(IToken oldToken) : base(oldToken) { }
        public IRToken(int type, string text) : base(type, text) { }
        public IRToken(ICharStream input, int type, int channel, int start, int stop) : base(input, type, channel, start, stop) { }

        public ISymbol Symbol
        {
            get { return _symbol; }
            set { _symbol = value; }
        }
    }
}
